<?php
namespace App\Http\Controllers\Buz;

use App\Http\Controllers\Controller;
use App\Lib\BankMap;
use App\Models\PlatUserBank;

class RemitController extends Controller
{
    public function withdraw()
    {
        $user = \Session::get('user');
        $banks = PlatUserBank::where('uid', $user->id)->orderBy('is_default', 'desc')->get(['id', 'account', 'category', 'username']);
        return view('buz.remit.withdraw', compact('banks'));
    }
}
